package o;

import android.graphics.drawable.Drawable;
import androidx.appcompat.widget.SwitchCompat;
import com.huawei.skinner.annotation.SkinAdapter;
import com.huawei.skinner.annotation.SkinMethod;
import com.huawei.skinner.annotation.SkinMethods;

@SkinMethods({@SkinMethod(attribute = "thumbTint", method = "setThumbTintList", type = SwitchCompat.class), @SkinMethod(attribute = "trackTint", method = "setTrackTintList", type = SwitchCompat.class)})
public class ftr {
    @SkinAdapter("thumb")
    public static void ˋ(SwitchCompat switchCompat, Drawable drawable) {
        switchCompat.setThumbDrawable(drawable);
        switchCompat.setThumbTintList(switchCompat.ॱ());
    }

    @SkinAdapter("track")
    public static void ˎ(SwitchCompat switchCompat, Drawable drawable) {
        switchCompat.setTrackDrawable(drawable);
        switchCompat.setTrackTintList(switchCompat.ˋ());
    }
}
